package com.bwyun.emperor.test.interfaces;

import java.util.List;

import com.bwyun.emperor.test.vo.TestVO;

public interface ITestDAO {

	// property constants
	public static final String LAST_NAME = "lastName";
	public static final String FIRST_NAME = "firstName";
	public static final String FORM_NAME = "formName";
	public static final String COMMON_NAME = "commonName";
	public static final String NICK_NAME = "nickName";
	public static final String SEX = "sex";
	public static final String CHAR_TYPE_ID = "charTypeId";
	public static final String HEIGHT = "height";
	public static final String WEIGHT = "weight";
	public static final String FAMILY_ID = "familyId";
	public static final String FATHER_ID = "fatherId";
	public static final String MOTH_ID = "mothId";
	public static final String COUPLE_ID = "coupleId";
	public static final String ROLE_ID = "roleId";
	public static final String MORAL = "moral";
	public static final String IQ = "iq";
	public static final String HP = "hp";
	public static final String POLITY = "polity";
	public static final String COMMAND = "command";
	public static final String FIGHT = "fight";
	public static final String TEACH = "teach";
	public static final String LIFE = "life";
	public static final String TEAMWORK = "teamwork";
	public static final String FACE_ID = "faceId";
	public static final String BODY_ID = "bodyId";

	public abstract void save(TestVO transientInstance);

	public abstract void delete(TestVO persistentInstance);

	public abstract TestVO findById(java.lang.Integer id);

	public abstract List findByExample(TestVO instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByLastName(Object lastName);

	public abstract List findByFirstName(Object firstName);

	public abstract List findByFormName(Object formName);

	public abstract List findByCommonName(Object commonName);

	public abstract List findByNickName(Object nickName);

	public abstract List findBySex(Object sex);

	public abstract List findByCharTypeId(Object charTypeId);

	public abstract List findByHeight(Object height);

	public abstract List findByWeight(Object weight);

	public abstract List findByFamilyId(Object familyId);

	public abstract List findByFatherId(Object fatherId);

	public abstract List findByMothId(Object mothId);

	public abstract List findByCoupleId(Object coupleId);

	public abstract List findByRoleId(Object roleId);

	public abstract List findByMoral(Object moral);

	public abstract List findByIq(Object iq);

	public abstract List findByHp(Object hp);

	public abstract List findByPolity(Object polity);

	public abstract List findByCommand(Object command);

	public abstract List findByFight(Object fight);

	public abstract List findByTeach(Object teach);

	public abstract List findByLife(Object life);

	public abstract List findByTeamwork(Object teamwork);

	public abstract List findByFaceId(Object faceId);

	public abstract List findByBodyId(Object bodyId);

	public abstract List findAll();

	public abstract TestVO merge(TestVO detachedInstance);

	public abstract void attachDirty(TestVO instance);

	public abstract void attachClean(TestVO instance);

}